<div id="content" class="hfeed">
    <div class="page hentry entry">
        <div class="post-wrap">
            <div class="entry-content">

                <h2>Danh sách</h2>
                <table cellpadding="0" cellspacing="0">
                	<thead>
                	<tr>
                			<th><?php echo $this->Paginator->sort('screen_type_id'); ?></th>
                			<th><?php echo $this->Paginator->sort('screen_type_name'); ?></th>
                			<th class="actions"><?php echo __('Actions'); ?></th>
                	</tr>
                	</thead>
                	<tbody>
                	<?php foreach ($screenTypes as $screenType): ?>
                	<tr>
                		<td><?php echo h($screenType['ScreenType']['screen_type_id']); ?>&nbsp;</td>
                		<td><?php echo h($screenType['ScreenType']['screen_type_name']); ?>&nbsp;</td>
                		<td class="actions">
                			<?php echo $this->Html->link(__('View'), array('action' => 'view', $screenType['ScreenType']['screen_type_id'])); ?>
                			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $screenType['ScreenType']['screen_type_id'])); ?>
                			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $screenType['ScreenType']['screen_type_id']), array(), __('Are you sure you want to delete # %s?', $screenType['ScreenType']['screen_type_id'])); ?>
                		</td>
                	</tr>
                <?php endforeach; ?>
                	</tbody>
                	</table>
                	<p class="paging-p">
                	<?php
                	echo $this->Paginator->counter(array(
                	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
                	));
                	?>	</p>
                	<div class="paging">
                	<?php
                		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
                		echo $this->Paginator->numbers(array('separator' => ''));
                		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
                	?>
                	</div>

            </div>
        </div>
    </div>
</div>
<div id="sidebar" class="sidebar">
    <div class="widget">
        <h4>Chức năng</h4>
        <ul class="menu">
            <li><?php echo $this->Html->link(__('New Screen Type'), array('action' => 'add')); ?></li>
        </ul>
    </div>
</div>
